package com.ruoyi.standingbook.extermination.service;

import com.ruoyi.standingbook.extermination.domain.ExterminationImportDetail;
import com.ruoyi.standingbook.extermination.domain.vo.ExterminationImportDetailVo;
import com.ruoyi.standingbook.extermination.domain.bo.ExterminationImportDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.standingbook.recycle.domain.vo.RecycleImportDetailVo;

import java.util.Collection;
import java.util.List;

/**
 * 四害消杀导入明细Service接口
 *
 * @author cc
 * @date 2023-04-30
 */
public interface IExterminationImportDetailService {

    /**
     * 查询四害消杀导入明细
     */
    ExterminationImportDetailVo queryById(Long id);

    /**
     * 查询四害消杀导入明细列表
     */
    TableDataInfo<ExterminationImportDetailVo> queryPageList(ExterminationImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询四害消杀导入明细列表
     */
    List<ExterminationImportDetailVo> queryList(ExterminationImportDetailBo bo);

    /**
     * 新增四害消杀导入明细
     */
    Boolean insertByBo(ExterminationImportDetailBo bo);

    /**
     * 修改四害消杀导入明细
     */
    Boolean updateByBo(ExterminationImportDetailBo bo);

    /**
     * 校验并批量删除四害消杀导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 批量插入
     */
    Boolean batchInsertVo(List<ExterminationImportDetailVo> voList);
}
